package com.mark.java8.lambda;

/**
 * Created by Choisaaaa on 2018/6/21.
 */
public class FilterEmployeeForAge implements MyPredicate<Employee> {

    @Override
    public boolean compare(Employee employee) {
        return employee.getAge()>18;
    }
}
